package com.pethub.dao;

import com.pethub.entity.User;

/**
 * 201-12-3
 * @author harden
 * @version 1.0
 */
public interface UserDao extends GenericDao<User,String>{
    /**
     *
     * @param email
     * @return User(当前Email存在),null(当前email不存在)
     * @// TODO: 2017/12/3 0003  根据邮箱返回
     */
    public User getByEmail(String email) throws Exception;

}
